#pragma once

#include <QtPlugin>

class MyPluginsInterface
{
public:
    virtual ~MyPluginsInterface() {}

    virtual int add(int l, int r) = 0;
};

//class MyPluginsInterface2
//{
//public:
//    virtual ~MyPluginsInterface2() {}
//
//    virtual int sub(int l, int r) = 0;
//};

#define MyPluginInterface_iid "GAnt.MyPlugin"
#define MyPluginInterface2_iid "GAnt.MyPlugin2"

Q_DECLARE_INTERFACE(MyPluginsInterface, MyPluginInterface_iid)
//Q_DECLARE_INTERFACE(MyPluginsInterface2, MyPluginInterface2_iid)